package com.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

//投诉建议表
@Data//setter getter
@NoArgsConstructor//空参
@AllArgsConstructor//全参
@ToString//toString
public class Complaintadvice {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    private String phone;
    private String response;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer uId;
}
